<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!--view视图-->
<div id="app">
<!--    <h2>{{message}}</h2>-->
    <span v-bind:title="message">
        鼠标停留
    </span>

</div>


<!--1.导入vue.js-->
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script>
    var vm= new Vue({
        el: "#app",
        //model : 数据
        data: {
            message: "hello,vue!"
        }
    });
</script>
</body>
</html>